package com.sl.mes.db.dao;

import com.sl.mes.db.vo.MesAgencyShare;
import com.sl.mes.db.vo.MesAgencyShareExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MesAgencyShareMapper {
    long countByExample(MesAgencyShareExample example);

    int deleteByExample(MesAgencyShareExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MesAgencyShare record);

    int insertSelective(MesAgencyShare record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mes_agency_share
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    MesAgencyShare selectOneByExample(MesAgencyShareExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mes_agency_share
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    MesAgencyShare selectOneByExampleSelective(@Param("example") MesAgencyShareExample example, @Param("selective") MesAgencyShare.Column ... selective);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mes_agency_share
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    List<MesAgencyShare> selectByExampleSelective(@Param("example") MesAgencyShareExample example, @Param("selective") MesAgencyShare.Column ... selective);

    List<MesAgencyShare> selectByExample(MesAgencyShareExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mes_agency_share
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    MesAgencyShare selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") MesAgencyShare.Column ... selective);

    MesAgencyShare selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MesAgencyShare record, @Param("example") MesAgencyShareExample example);

    int updateByExample(@Param("record") MesAgencyShare record, @Param("example") MesAgencyShareExample example);

    int updateByPrimaryKeySelective(MesAgencyShare record);

    int updateByPrimaryKey(MesAgencyShare record);
}